package com.cloudbroker.bcs.platform.ltb.bizexport.t2.transaction;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.csvc.lightinvesting.api.vo.request.*;
import com.cloudbroker.bcs.csvc.lightinvesting.api.vo.request.fansRelated.CombSubscribeCancelForm;
import com.cloudbroker.bcs.csvc.lightinvesting.api.vo.response.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.transaction.CombineBizService;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.transaction.back.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.transaction.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.t2service.transaction.CombineT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by tianrui on 2016/7/22.
 */
@Service
public class CombineT2 implements CombineT2BizService {

    @Resource
    private CombineBizService combineBizService;


    @Override
    public CombineApplyBack CombineApply(@ServiceParam("param") CombineCreateForm form) {
        return combineBizService.CombineApply(form);
    }

    @Override
    public HSBCPSBackVO CombineFocus(@ServiceParam("param") CombineFocusForm form) {
        return combineBizService.CombineFocus(form);
    }

    @Override
    public HSBCPSBackVO CombineFocusCancel(@ServiceParam("param") CombineFocusForm form) {
        return combineBizService.CombineFocusCancel(form);
    }

    @Override
    public CombineSummaryList CombineSummaryQuery(@ServiceParam("param") CombineSummaryQryForm form) {
        return combineBizService.CombineSummaryQuery(form);
    }

    @Override
    public CombRankQryBackVo func_comb_rank(CombineRankForm form) {
        return combineBizService.comb_rank(form);
    }

    @Override
    public CombineSearchList CombineSearch(CombineMidSearchForm form) {
        return combineBizService.CombineSearch(form);
    }

    @Override
    public MiddleCombineBasicInfoList combineBasicInfo(CombineMidBasicInfoform form) {
        return combineBizService.combineBasicInfo(form);
    }

    @Override
    public ExtcomacctVagueQryList func_extcomacct_vague_qry(ExtcomacctVagueForm form) {
        return combineBizService.func_extcomacct_vague_qry(form);
    }

//    @Override
//    public CombEntrustVo func_comb_entrust_add(MiddleCombEntrustForm form) {
//        return combineBizService.comb_entrust_add(form);
//    }

    /**
     * 组合委托
     */
    public CombEntrustVo func_comb_entrust_add( CombEntrustTransForm param){
        return combineBizService.func_comb_entrust_add(param);
    }



    /**
     * 组合关注，即领投宝的组合订阅
     */
    public CombSubscribeVo func_combine_focus(CombSubscribeTransForm param){
        return combineBizService.func_combine_focus(param);
    }

    /**
     * 投顾收藏，即领投宝的投顾关注
     */
    public InterestFocusVo func_focus_interest_add(FocusInterestByTransForm param){
        return combineBizService.func_focus_interest_add(param);
    }

    @Override
    public SubscriptionCombineQryBackVo func_comb_subscription(MiddleSubscriptionCombineForm form) {
        return combineBizService.func_comb_subscription(form);
    }

    @Override
    public CombSubscribeCancelVo func_combine_focus_cancel(MiddleCombSubscribeCancelForm form) {
        return combineBizService.func_combine_focus_cancel(form);
    }
}
